<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/BackupContracts.Sql" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/BackupContracts.Sql" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="https://localhost/BackupService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/BackupContracts" />
  <xs:import schemaLocation="https://localhost/BackupService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/System" />
  <xs:import schemaLocation="https://localhost/BackupService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/BackupContracts.Tasks" />
  <xs:complexType name="SqlServer">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/BackupContracts" base="q1:ModelBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="User" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SqlServer" nillable="true" type="tns:SqlServer" />
  <xs:complexType name="ArrayOfSqlServer">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SqlServer" nillable="true" type="tns:SqlServer" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSqlServer" nillable="true" type="tns:ArrayOfSqlServer" />
  <xs:complexType name="ArrayOfSqlDatabaseBackup">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SqlDatabaseBackup" nillable="true" type="tns:SqlDatabaseBackup" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSqlDatabaseBackup" nillable="true" type="tns:ArrayOfSqlDatabaseBackup" />
  <xs:complexType name="SqlDatabaseBackup">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/BackupContracts" base="q2:ModelBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="BackupUrl" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Database" nillable="true" type="tns:SqlDatabase" />
          <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="Finish" nillable="true" type="q3:DateTimeOffset" />
          <xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" />
          <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="Start" nillable="true" type="q4:DateTimeOffset" />
          <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SqlDatabaseBackup" nillable="true" type="tns:SqlDatabaseBackup" />
  <xs:complexType name="SqlDatabase">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/BackupContracts" base="q5:ModelBase">
        <xs:sequence>
          <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="LastBackup" nillable="true" type="q6:DateTimeOffset" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Server" nillable="true" type="tns:SqlServer" />
          <xs:element minOccurs="0" name="ServerId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SqlDatabase" nillable="true" type="tns:SqlDatabase" />
  <xs:complexType name="ArrayOfSqlDatabaseBackupLog">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SqlDatabaseBackupLog" nillable="true" type="tns:SqlDatabaseBackupLog" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSqlDatabaseBackupLog" nillable="true" type="tns:ArrayOfSqlDatabaseBackupLog" />
  <xs:complexType name="SqlDatabaseBackupLog">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/BackupContracts" base="q7:ModelBase">
        <xs:sequence>
          <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="Date" nillable="true" type="q8:DateTimeOffset" />
          <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MessageCategory" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SqlDatabaseBackupLog" nillable="true" type="tns:SqlDatabaseBackupLog" />
  <xs:complexType name="ArrayOfSqlDatabase">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SqlDatabase" nillable="true" type="tns:SqlDatabase" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSqlDatabase" nillable="true" type="tns:ArrayOfSqlDatabase" />
  <xs:complexType name="SqlBackupTaskAction">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q9="http://schemas.datacontract.org/2004/07/BackupContracts.Tasks" base="q9:TaskAction">
        <xs:sequence>
          <xs:element minOccurs="0" name="Database" nillable="true" type="tns:SqlDatabase" />
          <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="LastBackup" type="q10:DateTimeOffset" />
          <xs:element minOccurs="0" name="MaximumNumberOfCopies" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SqlBackupTaskAction" nillable="true" type="tns:SqlBackupTaskAction" />
</xs:schema>